package com.quanquan.repository;

import com.quanquan.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User, Long> {

    User findById(long id);

    Long deleteById(Long id);

    User findUserByUserName(String userName);

}